import { component, defineMarkdocConfig } from "@astrojs/markdoc/config";
import prism from "@astrojs/markdoc/prism";

export default defineMarkdocConfig({
  tags: {
    VideoPlayer: {
      render: component("./src/components/article/video-player.astro"),
      attributes: {
        src: { type: String },
      },
    },
  },
  extends: [prism()],
});
